home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3984 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!intellic.demon.co.uk
  2. From: Chris Trueman <truemanc@intellic.demon.co.uk>
  3. Newsgroups: crl.general,comp.sys.sun.misc,comp.unix.sys5.misc,comp.lang.c,sci.math
  4. Subject: Re: Problem with C for the mathematical programm
  5. Date: Thu, 01 Feb 96 08:32:29 GMT
  6. Organization: IntelliCorp
  7. Message-ID: <823163549snz@intellic.demon.co.uk>
  8. References: <4epq2e$h4b@crl2.crl.com>
  9. Reply-To: truemanc@intellic.demon.co.uk
  10. X-NNTP-Posting-Host: intellic.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.30
  12. X-Mail2News-Path: intellic.demon.co.uk
  13.  
  14. In article <4epq2e$h4b@crl2.crl.com> sorkin@crl.com "Iouri Sorkine" writes:
  15.  
  16. >
  17. >I execute "cc name.c" and receive "ld: Undefined symbol
  18. >                                       _cos
  19. >                                       _sin
  20.  
  21. Try linking the math library with: cc name.c -lm
  22.  
  23.             - Chris
  24.  
  25. -============================================================================-
  26. IntelliCorp Applications Consultant / E-mail: truemanc@intellic.demon.co.uk
  27. LiveModel and PowerModel are part   / CServe: 100255,701
  28. of IntelliCorp's MODELWORKS        / Tel   : +44 (0)1344 305305
  29. application development suite.      / Fax   : +44 (0)1344 305100
  30. -============================================================================-
  31.